import React, { Suspense } from 'react';
import { Spin } from 'antd';

const AiOffices = React.lazy(() => import('./AIOffices'));

const Offices: React.FC = () => {
  return (
    <Suspense fallback={<Spin size="large" className="global-spin" />}>
      <AiOffices />
    </Suspense>
  );
};

export default Offices;
